#if defined(__QURT)
#include "dev_fs_lib_spi.h"
#define IMU_DEVICE_PATH "/dev/spi-1"
#elif defined(__BEBOP)
#define IMU_DEVICE_PATH "/dev/i2c-mpu6050"
#elif defined(__RPI2)
#include <linux/spi/spidev.h>
#define GPIO_A_LED_PIN 25
#define GPIO_B_LED_PIN 24
#define GPIO_C_LED_PIN 26
#define GPIO_D_LED_PIN -1
#define IMU_DEVICE_ACC_GYRO "/dev/spidev0.3"
#define IMU_DEVICE_MAG "/dev/spidev0.2"
#define IMU_DEVICE_PATH "/dev/spidev0.1"
#undef __IMU_USE_I2C
#undef __BARO_USE_I2C
#define BARO_DEVICE_PATH "/dev/spidev0.0"
#define MAG_DEVICE_PATH "/dev/i2c-1"
#define PWM_DEVICE_ADDR 0x40
#else
#define GPIO_A_LED_PIN -1
#define GPIO_B_LED_PIN -1
#define GPIO_C_LED_PIN -1
#define GPIO_D_LED_PIN -1
#define IMU_DEVICE_PATH "/dev/spidev0.0"
#define IMU_DEVICE_ACC_GYRO ""
#define IMU_DEVICE_MAG ""
#define MAG_DEVICE_PATH ""
#define BARO_DEVICE_PATH ""
#endif


